package org.lanlab.storode.controller.request;

import org.lanlab.storode.dal.entity.Requirement;

import java.util.List;

/**
 * @author dove
 * @since 2020/1/9 17:13
 */
public class NewPageRequest {
    private String title;
    private String detail;
    private Long parentId;
    private List<Requirement> requirements;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public List<Requirement> getRequirements() {
        return requirements;
    }

    public void setRequirements(List<Requirement> requirements) {
        this.requirements = requirements;
    }

    @Override
    public String toString() {
        return "PageRequest{" +
                "title='" + title + '\'' +
                ", detail='" + detail + '\'' +
                ", parentId=" + parentId +
                '}';
    }
}
